package spring.lottery.server;

import spring.lottery.controller.param.CreateActivityParam;
import spring.lottery.controller.param.CreatePrizeParam;
import spring.lottery.controller.param.DrawPrizesData;
import spring.lottery.controller.param.PageParam;
import spring.lottery.dao.dataObject.WinningRecordDO;
import spring.lottery.server.dto.*;

import java.util.List;

public interface ActivitiesServer {

    PrizeDtoResponse prizePrizeFindList(PageParam param);

    List<GetUserListDto> findUserList();

    Integer create(CreatePrizeParam createPrizeParam);

    Long createActivity(CreateActivityParam param);

    ActivityListDto findActivityList();

    List<WinningRecordDO> saveWinningInfo(DrawPrizesData prizeDto);


}
